package com.xjrsoft.module.customer.erp_model.eRP_InStock.service;

import com.xjrsoft.module.customer.erp_model.eRP_InStock.dto.ErpStockinstockentryDto;
import com.xjrsoft.module.customer.erp_model.eRP_InStock.entity.ErpStockinstock;
import com.xjrsoft.module.customer.erp_model.eRP_InStock.entity.ErpStockinstockentry;
import com.xjrsoft.module.customer.erp_model.eRP_InStock.dto.ErpStockinstockListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.common.page.PageOutput;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjrsoft.module.customer.erp_model.eRP_InStock.vo.ErpStockinstockentryVo;
import com.xjrsoft.module.customer.erp_model.eRP_PurchaseReceiptInfo.vo.ErpPurchasereceiptentryVo;

/**
 *  服务类
 *
 * @author pp
 * @since 2021-10-08
 */
public interface IErpStockinstockService extends IService<ErpStockinstock> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ErpStockinstock> getPageList(ErpStockinstockListDto pageListDto);

	List<ErpStockinstockentry> getErpStockinstockentryByParentId(String parentId);
	String addErpStockinstock(ErpStockinstock erpStockinstock, List<ErpStockinstockentryDto> erpStockinstockentryDtos,List<ErpStockinstockentry> erpStockinstockentryList);

	boolean updateErpStockinstock(String id, ErpStockinstock erpStockinstock, List<ErpStockinstockentry> erpStockinstockentryList);

	List<ErpStockinstockentryVo> getInfo(String F_InstockId);
}
